repeated element in an array